package com.lingxu.api.ztb.mapper;

import com.lingxu.api.ztb.model.CPreviousApproveCbsj3;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingxu.api.ztb.model.vo.CPreviousApproveCbsj3VO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.List;

/**
 * 初步设计批复子表3 Mapper接口
 *
 * @author admin
 * @since 2025-09-22
 */
@Mapper
public interface CPreviousApproveCbsj3Mapper extends BaseMapper<CPreviousApproveCbsj3> {
    /**
     * 查询初步设计批复子表3
     *
     * @return
     */
    List<CPreviousApproveCbsj3VO> selectCPreviousApproveCbsj3List(@Param("query") CPreviousApproveCbsj3VO vo);

    IPage<CPreviousApproveCbsj3VO> pageList(@Param("page") Page<CPreviousApproveCbsj3VO> page, @Param("query") CPreviousApproveCbsj3VO vo);

    List<CPreviousApproveCbsj3VO> getDataForExport(@Param("query") CPreviousApproveCbsj3VO vo);

    void createTempTable(@Param("batchFlag")String batchFlag);
    void insertTempTable(@Param("list") List<CPreviousApproveCbsj3VO> dataList, @Param("batchFlag")String batchFlag);
    void insertTable(@Param("batchFlag")String batchFlag);
    void dropTempTable(@Param("batchFlag")String batchFlag);
}
